package miiteen.customsportal.ct.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import miiteen.data.dao.BaseDao;
import miiteen.data.service.impl.BaseServiceImpl;

import miiteen.customsportal.ct.beans.CTNoticeType;
import miiteen.customsportal.ct.dao.CTNoticeTypeDao;

import java.util.List;
import java.util.Map;

/**
 * Name: CustomsPortal_CT_NoticeType
 * Des: -Service
 * Author: yulp
 * Date: 2020-07-03
 */
@Service("cTNoticeTypeService")
public class CTNoticeTypeService extends BaseServiceImpl<CTNoticeType> {

    @Autowired
    private CTNoticeTypeDao cTNoticeTypeDao;

    @Override
    protected BaseDao<CTNoticeType> getDao() {
        return cTNoticeTypeDao;
    }
    public List<CTNoticeType> getCodeValue(Map map){
        return cTNoticeTypeDao.getCodeValue(map);
    }
}
